package com.boot.main.service;

import com.boot.main.entity.ScomAd;
import com.boot.main.response.ResponseData;

public interface IAdService {
    ResponseData getAds(Integer page, Integer limit, String name);
    ResponseData getAdminAds(Integer page, Integer limit, String name);
    ResponseData saveAd(ScomAd ad);
    ResponseData updateAd(ScomAd ad);
    ResponseData deleteAd(Long id);
}
